/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.mobiubiq.directory.client.util;

/**
 *
 * @author Marnix Renne
 */
public final class PlatformCapabilities {
    public static String getPlatform() {
        return System.getProperty("microedition.platform");
    }
    public static boolean hasContactless() {
        return (System.getProperty("microedition.contactless.version") != null);
    }
    
    public static boolean hasLocation() {
        return (System.getProperty("microedition.location.version") != null);
    }
    
    public static boolean hasVideoCapture() {
        return (System.getProperty("supports.video.capture") != null);
    }
    
    public static boolean hasFileConnection() {
        return (System.getProperty("microedition.io.file.FileConnection.version") != null); 
    }
}
